package cn.itsource.util;

/**
 * @author : 张金铭
 * @description : Redis key值
 * @create :2022-11-14 18:02:00
 */
public class RedisContants {
    /**
     * 邮箱激活验证码
     **/
    public static final String SHOP_ACTIVE_EMAIL = "pethome:shop:email:";

    public static final String SHOP_ACTIVE_CODE = "pethome:shop:code:";

    /**
     * 手机登入验证码
     **/
    public static final String USER_PHONE_CODE = "pethome:phone:code:";

    public static final String USER_PHONE_TODAY = "today:mobile:code:times:";


    /**
     * EMP登入令牌key
     **/
    public static final String LOGIN_EMP_KEY = "login:emp:token:";
    /**
     * EMP令牌存储时间
     **/
    public static final Long LOGIN_EMP_TTL = 360L;


    /**
     * USER登入令牌key
     **/
    public static final String LOGIN_USER_KEY = "login:user:token:";
    /**
     * USER令牌存储时间
     **/
    public static final Long LOGIN_USER_TTL = 360L;


}
